package com.xw.demo.mybatis.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiongwei_vendor
 * @date 2021/12/30 15:40
 */
@RestController
@RequestMapping("/dept")
public class TestController {

    @GetMapping("/version")
    @ApiOperation(value="获取信息", notes="版本信息")
    public String getVersion() {
        return "1.0.0";
    }


}
